import request from '@/utils/request'

// 查询实习生成绩鉴定主列表
export function listInternEvaluation(query) {
  return request({
    url: '/collegeco/internEvaluation/list',
    method: 'get',
    params: query
  })
}

// 查询实习生成绩鉴定主详细
export function getInternEvaluation(evaluationId) {
  return request({
    url: '/collegeco/internEvaluation/' + evaluationId,
    method: 'get'
  })
}

// 新增实习生成绩鉴定主
export function addInternEvaluation(data) {
  return request({
    url: '/collegeco/internEvaluation',
    method: 'post',
    data: data
  })
}

// 修改实习生成绩鉴定主
export function updateInternEvaluation(data) {
  return request({
    url: '/collegeco/internEvaluation',
    method: 'put',
    data: data
  })
}

// 删除实习生成绩鉴定主
export function delInternEvaluation(evaluationId) {
  return request({
    url: '/collegeco/internEvaluation/' + evaluationId,
    method: 'delete'
  })
}
